﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Category.ascx.cs" Inherits="UserControls_Category" %>

<!-- load all course by categoryid -->
<%@ Register Src="~/UserControls/Widget.ascx" TagName="Widget" TagPrefix="uc" %>

<!-- content begin -->
<div id="masthead">
    <div class="container_24">
        <div class="grid_24">
            <div class="grid_7 alpha broadcast_art">
                <img alt="Category" class="with_border shadow dark" height="147"
                    width="262" runat="server" id="pictureCate" />
            </div>
            <div class="grid_11 prefix_1 content">
                <h2>
                    <asp:Label ID="lblCategoryName" runat="server" Text=""></asp:Label>

                </h2>
                <p>

                    <asp:Label ID="lblDesc" runat="server" Text=""></asp:Label>
                </p>

                <p class="small"></p>
            </div>
            <div class="grid_5 omega hosts" style="display:none">
                <h4>Giáo viên</h4>
                <div class="host">
                    <a href="#" title="Jim Dalrymple">
                        <img alt="Jim Dalrymple" class="with_border shadow dark" height="82" src="http://icebox.5by5.tv/images/people/241/avatar_thumb.jpg" width="82" />
                        <p>Jim Dalrymple</p>
                    </a>
                </div>
                <div class="host last">
                    <a href="#" title="Dan Benjamin">
                        <img alt="Dan Benjamin" class="with_border shadow dark" height="82" src="http://icebox.5by5.tv/images/people/1/avatar_thumb.jpg" width="82" />
                        <p>Dan Benjamin</p>
                    </a>
                </div>
            </div>

        </div>
        <div class="clear"></div>
    </div>
</div>

<div id="content">
    <div class="container_24">
       
            <div class="grid_15">
                 <fieldset class="shadow rounded">
            <legend class="rounded"><span class="pagination">
                <div class="pagination">
                   Danh mục Khóa học #<asp:Label ID="lblCateName" runat="server"></asp:Label>
                </div>
            </span>

            </legend>

                <div class="box">
                    <div id="placeholder">
                        <script type="text/javascript">
                            
                            $(document).ready(function () {
                                var categoryId = <%=Request.QueryString["CategoryId"] %>
                                $.dalatcooking.params[0] = categoryId;
                                $.dalatcooking.jsonCourse_loadCourseByCategoryId("#placeholder", 5, 1);
                            });

                        </script>

                    </div>
                    <div class="clear"></div>
                </div>
                       </fieldset>
            </div>

      
        <uc:Widget ID="rightWidget" runat="server" />


    </div>
</div>
<!-- content end -->
